div {
    margin:0;
    padding:0;
    border-width:4px;
    width: 100px;
    height:100px;
    line-height: 100px;
    text-align: center;
}

#container{
    margin: 0 auto;
    border-style: solid;
    width:900px;
    height: 650px;
    position: relative;
}

#main{
    margin: 0 auto;
    border-style: solid;
    top:25px;
    width:800px;
    height: 600px;
    position: relative;
}

#other{
    margin: 0 auto;
    border-style: solid;
    top:50px;
    width:800px;
    height: 600px;
    position: relative;
}

#box1{
    position: absolute;
    border-style: dashed;
    background-color: aqua;
    right:0;
}

#box2{
    position: absolute;
    border-style: dotted;
    background-color: antiquewhite;
    top:100px;
}

#box3{
    position: absolute;
    border-style: double;
    background-color: blueviolet;
    left:100px;
    top:300px;
}